﻿import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { RealtimeCostBarcodeComponent } from './barcode/barcode.component';
import { RealtimeCostTimerComponent } from './timer/timer.component';
import { RealtimeCostDetailComponent } from './detail/detail.component';
import { RealtimeCostWorkshopComponent } from './workshop/workshop.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    { path: 'barcode', component: RealtimeCostBarcodeComponent },
                    { path: 'timer', component: RealtimeCostTimerComponent },
                    { path: 'detail', component: RealtimeCostDetailComponent },
                    { path: 'workshop', component: RealtimeCostWorkshopComponent }
                ]
            }
        ])
    ],
    exports: [RouterModule]
})
export class RealtimeCostRoutingModule {}
